import React from 'react';
import { View } from 'react-native';
import PropTypes from 'prop-types';
import List from './components/List';

const PerformView = ({ performList, getPlanList }) => (
    <View>
        <List performList={performList} getPlanList={getPlanList} />
    </View>
);
PerformView.defaultProps = {
    performList: [{}],
    getPlanList: () => {},
};
PerformView.propTypes = {
    performList: PropTypes.arrayOf(PropTypes.any),
    getPlanList: PropTypes.func,
};
export default PerformView;
